translation fixes

jamesperet 9 years ago
parent
commit
2d189cf7ed
2 changed files with 3 additions and 1 deletions
  1. 1 1
      app/views/devise/registrations/edit.html.erb
  2. 2 0
      config/locales/en.yml

+ 1 - 1
app/views/devise/registrations/edit.html.erb

@@ -46,7 +46,7 @@
46 46
 				  <div class="clearfix"></div>
47 47
 			  </div>
48 48
 			  <div class="form-actions" style="margin: 0px; margin-top: 15px;">
49
-			    <%= f.submit  (t 'registration.update') %>
49
+			    <%= f.submit  (t 'registration.update'), class: 'btn' %>
50 50
 			    <%= link_to (t 'nav.back'), :back, class: 'btn btn-link' %>
51 51
 			    <%= link_to ('<i class="fa fa-exclamation-triangle"></i> '+ (t 'registration.cancel_account')).html_safe, registration_path(resource_name), data: { confirm: (t 'registration.cancel_confirmation') }, method: :delete, class: 'btn btn-danger pull-right' %>
52 52
 			  </div>

+ 2 - 0
config/locales/en.yml

@@ -292,4 +292,6 @@ en:
292 292
     new_password: New Password
293 293
     confirm_your_new_password: Confirm New Password
294 294
     change_password: Save Password
295
+    cancel_account: Delete Account
296
+    cancel_confirmation: Are you sure you want to delete your account permenantly?
295 297
     edit_password: Edit password